﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Proggy.Web.Cms.Core.Seo.Service.Abstract
{
    /// <summary>
    /// Generates a basic robots.txt file etc
    /// </summary>
    public interface IRobotsFileService
    {
        /// <summary>
        /// Root folder path
        /// </summary>
        string RootFolderPath { get; set; }

        /// <summary>
        /// If false, when "GenerateRobotsFile()" is called, will do nothing
        /// </summary>
        bool AutoGenerateFile { get; set; }

        /// <summary>
        /// Additional lines for "disallow"
        /// </summary>
        string[] AdditionalDisallows { get; set; }

        /// <summary>
        /// Root Url
        /// </summary>
        string RootUrl { get; set; }

        /// <summary>
        /// Generate file - will do nothing AutoGenerateFile = false
        /// </summary>
        void GenerateRobotsFile();
    }
}
